<div class="container-fluid" style="margin: 0">
	<div class="sidebar_detail">
		<div class="tab-content">
			<div class="tab-pane active">
				<form id="guideAuditForm" name="guideAuditForm">
					<div class="row">
						<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
							<div class="form-group">
								<label class="col-md-4 col-sm-2 control-label">
									<span class="notNull">*</span>姓名:
								</label>
								<div class="col-md-8 col-sm-10">
									<input id="guideName" name="guideName" type="text" class="form-control" ng-model="entity.guideName" ng-maxlength="32" required>
									<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="guideAuditForm.guideName.$dirty && guideAuditForm.guideName.$valid"></span>
									<span class="error_tips" ng-show="guideAuditForm.guideName.$error.maxlength">最多不能超过32个字符！</span>
								</div>
							</div>
						</div>
						<div class="col-md-6 form-horizontal">
							<div class="form-group">
								<label class="col-md-4 col-sm-2 control-label">
									<span class="notNull">*</span>联系电话:
								</label>
								<div class="col-md-8 col-sm-10">
									<input id="guidePhone" name="guidePhone" type="text" class="form-control" ng-model="entity.guidePhone" ng-pattern="validator.phone" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="guideAuditForm.guidePhone.$dirty && guideAuditForm.guidePhone.$valid"></span>
								<span class="error_tips" ng-show="guideAuditForm.guidePhone.$error.pattern">{{ validator.phone_error }}</span>
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
							<div class="form-group">
								<label class="col-md-4 col-sm-2 control-label">
									<span class="notNull">*</span>身份证:
								</label>
								<div class="col-md-8 col-sm-10">
									<input id="certificatesNumber" name="certificatesNumber" type="text" class="form-control" ng-model="entity.certificatesNumber" ng-pattern="validator.id" required>
									<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="guideAuditForm.certificatesNumber.$dirty && guideAuditForm.certificatesNumber.$valid"></span>
									<span class="error_tips" ng-show="guideAuditForm.certificatesNumber.$error.pattern">{{ validator.id_error }}</span>
								</div>
							</div>
						</div>
						<div class="col-md-6 form-horizontal">
							<div class="form-group">
								<label class="col-md-4 col-sm-2 control-label">
									<span class="notNull">*</span>证件有效期:
								</label>
								<div class="col-md-8 col-sm-10">
									<input id="guideCardDueTime" name="guideCardDueTime" type="text" class="form-control" ng-model="entity.guideCardDueTime" required>
									<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="guideAuditForm.guideCardDueTime.$dirty && guideAuditForm.guideCardDueTime.$valid"></span>
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
							<div class="form-group">
								<label class="col-md-4 col-sm-2 control-label">
									<span class="notNull">*</span>常在省:
								</label>
								<div class="col-md-8 col-sm-10">
									<input id="provinceName" name="provinceName" type="text" class="form-control">
									<input name="province" type="hidden" class="form-control" ng-model="entity.province" required>
									<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="guideAuditForm.province.$valid"></span>
								</div>
							</div>
						</div>
						<div class="col-md-6 form-horizontal">
							<div class="form-group">
								<label class="col-md-4 col-sm-2 control-label">
									<span class="notNull">*</span>常在城市:
								</label>
								<div class="col-md-8 col-sm-10">
									<input id="cityName" name="cityName" type="text" class="form-control">
									<input name="city" type="hidden" class="form-control" ng-model="entity.city" required>
									<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="guideAuditForm.city.$valid"></span>
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
							<div class="form-group">
								<label class="col-sm-2 control-label">
									<span class="notNull">*</span>带团经验:
								</label>
								<div class="col-sm-10">
									<textarea id="experience" name="experience"
										class="form-control" rows="10" placeholder="可以输入线路介绍等。"
										ng-model="entity.experience" ng-maxlength="300"></textarea>
								<span class="error_tips" ng-show="guideAuditForm.experience.$error.maxlength">最多不能超过300个字符！</span>
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
							<div class="form-group">
								<label class="col-sm-2 control-label">证件照:</label>
								<div class="col-sm-10" id="guideCardImage"></div>
								<input name="isOk" type="hidden" class="form-control" ng-model="cache.isOk" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="guideAuditForm.isOk.$dirty && guideAuditForm.isOk.$valid"></span>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-md-12 form-horizontal">
							<div class="form-group">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-10">
									<ul>
										<li ng-if="cache.image">
											<img src="{{ cache.image.path? cache.SERVER_URL + cache.image.path : cache.image.src }}" style="width: 90%;">
										</li>
									</ul>
								</div>
							</div>
						</div>
					</div>
					<div class="row" ng-if="entity.notPassCause">
						<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
							<div class="form-group">
								<label class="col-sm-2 control-label">原因:</label>
								<div class="col-sm-10" style="padding-top: 7px;">
								{{ entity.notPassCause }}
									<!-- <textarea id="notPassCause" name="notPassCause" class="form-control" rows="10" ng-model="entity.notPassCause" ng-maxlength="300"></textarea>
								<span class="error_tips" ng-show="guideAuditForm.notPassCause.$error.maxlength">最多不能超过300个字符！</span> -->
								</div>
							</div>
						</div>
					</div>
					<!-- <div class="row">
						<div class="col-md-12 form-horizontal">
							<div class="form-group">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-10">
									<ul>
										<li ng-repeat="item in cache.images" style="list-style-type: decimal;margin: 8px 0;">
											<img data-original="{{ item.key }}" src="{{ item.src }}" style="width: 90%;">
										</li>
									</ul>
								</div>
							</div>
						</div>
					</div> -->
				</form>
			</div>
		</div>
		<div class="tab-header">
			<div class="tool">
				<button type="button" class="btn btn-default" ng-click="auditSupport.run()" ng-disabled="guideAuditForm.$invalid || cache.isAudit">
					<i class="fa fa-outdent"></i>保存
				</button>
			</div>
		</div>
	</div>
</div>